

@font-face {
  font-family: AliRegular;
	src:url(./fonts/AlibabaPuHuiTi-3-55-Regular.ttf) format('TrueType'),
}
body {
  height: 100%;
  font-size: 14px;
  color: $mainTextColor;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: -apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Helvetica Neue,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;
  font-variant: tabular-nums;
  line-height: 1.5;
  background-color: $commonBgColor;
  font-feature-settings: "tnum";
  font-family: 'AliRegular' !important;
}
body {
  height: 100%;
  font-size: 62.5%;
  color: $mainTextColor;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: -apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Helvetica Neue,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;
  font-variant: tabular-nums;
  line-height: 1.5;
  background-color: $commonBgColor;
  font-feature-settings: "tnum";
}
html {
  height: 100%;
  box-sizing: border-box;
}
ul{
  padding: 0px;
  margin: 0px;
}
*,
*:before,
*:after {
  box-sizing: inherit;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

ul,li{
  list-style: none;
}

 /*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*/

 ::-webkit-scrollbar {
  width: 5px;
  height: 5px;
  background-color: #F5F5F5;
}

.scrollbar-no-width::-webkit-scrollbar {
  width: 0px;
  height: 0px;
}



/*定义滚动条轨道 内阴影+圆角*/

::-webkit-scrollbar-track {
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  background-color: #F5F5F5;
}


/*定义滑块 内阴影+圆角*/

::-webkit-scrollbar-thumb {
  border-radius: 10px;
  box-shadow: inset 0 0 6px rgba(0, 0, 0, .1);
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .1);
  background-color: #c8c8c8;
}


h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: .5em;
  color: rgba(0,0,0,.85);
  font-weight: 500;
}

.fl{
  float: left;
}
.fr{
  float: right;
}

.tc{
  text-align: center;
}
.tr{
  text-align: right;
}

.m0{
  margin: 0;
}
.p0{
  padding: 0;
}

.m-l-10{
  margin-left: 10px;
}

.m-r-5{
  margin-right: 5px;
}
.m-r-10{
  margin-right: 10px;
}

.m-t-10 {
  margin-top: 10px;
}
.m-t-20 {
  margin-top: 20px;
}

.m-b-5 {
  margin-bottom: 5px;
}
.m-b-10{
  margin-bottom: 10px;
}
.m-b-20{
  margin-bottom: 20px;
}

.p-r-5{
  padding-right: 5px;
}
.p-r-55 {
  padding-right: 55px;
}

.p-l-5{
  padding-left: 5px;
}
.p-l-10{
  padding-left: 10px;
}
.p-l-15{
  padding-left: 15px;
}

.p-b-10{
  padding-bottom: 10px;
}

.p-t-10{
  padding-top: 10px;
}
.p-t-15{
  padding-top: 15px;
}
.p-t-20{
  padding-top: 20px;
}

.p10{
  padding: 10px;
}

.color-primary {
  color: $colorPrimary !important;
}

.color-danger {
  color: $colorDanger !important;
}

.color-success {
  color: $colorSuccess !important;
}

.color-default {
  color: $colorDefault !important;
}
.color-warning {
  color: $colorWarning !important;
}
//--------------------------全局样式结束-------------------------------


//上下布局
.flex-main {
  display: flex;
  flex-direction: column;
  height: 100%;
}
//左右布局
.flex-row{
  flex-direction: row !important;
  display: flex;
}

.flex-1{
  flex: 1;
}

//分页
.pagination_handler {
  text-align: right;
}

.pagination_handler .pagination-container {
  padding: 10px !important;
}

//搜索面板
.filter-container {
  background: #fff;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  margin-bottom: 10px;
  padding: 15px 10px 0px 10px;
  .el-form-item{
    margin-bottom: 15px !important;
  }
  .el-input,
  .el-textarea,
  .el-input-number,
  .el-radio-group {
    width: 180px;
    margin-right: 10px;
  }
}

//表格面板
.table-container {
  flex: 1;
  //padding: 10px;
  background-color: #fff;
  height: 100%;
  overflow: hidden;
  .table-container-header {
    padding: 14px 10px;
  }
  .el-table{
    flex: 1;
  }
}
//侧边框
.side-modal-box {
  z-index:9999;
  position: absolute;
  background-color: #fff;
  right: 0px;
  top: 0px;
  bottom: 0px;
  height: calc(100% - 0px);
  width: 600px;
  overflow: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid #dedede;
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
  box-shadow: -4px -4px 11px 0px rgba(0, 0, 0, 0.14);
  animation-duration: .3s;
  padding: 0px 15px;
  z-index: 1000;
  .modal-header{
    height: 50px;
    line-height: 50px;
    padding-left: 0px;
    font-size: 18px;
    width: 100%;
    background: #fff;
    z-index: 99;
    border-bottom: 1px solid #eee;
    display: flex;
    flex-direction: row;
    .back{
      cursor: pointer;
      margin-right: 20px;
      font-size: 14px;
      border-right: 1px solid #DCDFE6;
      padding-right: 20px;
    }
    .title{
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      flex: 1;
    }
    .tool-right{
      padding-right: 10px;
    }
  }
  .modal-body {
    width: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
    height: calc(100% - 0px);
    overflow-y: auto;
    overflow-x: hidden;
  }
}
.side-modal-box-full{
  .side-modal-box{
    right: 10px;
    left: 10px;
    height: calc(100% - 0px);
  }

}
.common-card-container{
  padding: 15px 10px;
  margin: 10px 0;
  background-color: #fff;
}
//表格默认行颜色
.common-default-row{
  background-color: #f9f9f9 !important;
}
//公共提示
.common-tips{
  color: #9a9a9a;
  font-size: 12px;
}
//公共解释
.common-explain{
  color: $colorDanger;
  font-size: 13px;
  line-height: 20px;
  padding: 8px 0;
}

//公共鼠标
.common-cursor{
  cursor: pointer;
}

//图片
.common-round-image-32{
  width:32px;
  height:32px;
  border-radius: 18px;
}
.common-round-image-96{
  width:96px;
  height:96px;
  border-radius: 48px;
}

.common-form-with-desc .el-input,
.common-form-with-desc .el-textarea,
.common-form-with-desc .el-input-number,
.common-form-with-desc .el-radio-group,
.common-form-with-desc .el-button {
    width: 320px;
}

.common-form-with-desc .el-input-number input {
    text-align: left;
}

.common-form-with-desc .tip {
    color: #c8c8c8;
    font-size: 13px;
    margin-left: 10px;
}
.common-area-desc{
  color: #bbb;
  font-size: 12px;
  padding-top: 4px;
}
.common-tabs{
  background-color: #fff;
  padding: 0 15px;
  height: 50px;
  line-height: 50px;
  .el-tabs__header{
    margin: 0px;
  }
  .el-tabs__item.is-active{
    font-weight: bold;
  }
  .el-tabs__item:hover{
    color: #303133;
  }
  .el-tabs__nav-wrap::after{
    //background-color: #ffffff00;
    height: 1px;
  }
}
.common-tabs.no-border{
  .el-tabs__nav-wrap::after{
    height: 0px;
  }
}

.common-tabs-card{
  border: none;
  .el-tabs__content{
    height: 0px !important;
    padding: 0px !important;
  }
  .el-tabs--border-card{
    border: 0px;
  }
  .tab-container{
    height: 100%;
    overflow-y: auto;
    background: #fff;
    padding: 30px 36px 10px 36px;
  }
  .el-tabs__nav-wrap::after{
    //background-color: #ffffff00;
    height: 1px;
  }
}

.common-no-border.is-disabled .el-input__inner{
  border: 0px;
}
.common-step{
  margin-top: 15px;
  .el-step__title{
    font-size: 14px !important;
  }
  .el-step__title.is-process {
    font-weight: normal;
    color: rgba(0,0,0,.45);
  }

  .el-step__icon{
    width: 26px;
    height: 26px;
  }
  .el-step__icon.is-text{
    border: 1px solid;
  }
}
.common-input-append{
  .el-input-group__append{
    border-left: 0px;
    border-radius: 0 4px 4px 0;
  }
  .el-input__inner{
    border-right: 0px;
    border-radius: 4px  0 0 4px;

  }
  .el-input__inner:focus{
    border-right: 0px;
  }
  .el-input__inner:focus~.el-input-group__append{
    border: 1px solid $colorPrimary;
    border-left: 0px;
  }
}

.common-page-a4{
  border: 1px #D3D3D3 solid;
  border-radius: 5px;
  background: white;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  width: 21cm;
  //min-height: 29.7cm;
  padding: 0.8cm;
  margin: 0cm auto;
}
.common-dialog {
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  .el-dialog {
    margin: 0 auto !important;
    overflow: hidden;
    .el-dialog__body {
      margin: 15px;
      max-height: calc(100vh - 200px);
      z-index: 1;
      padding: 0 20px;
      overflow: hidden;
      overflow-y: auto;
    }
  }
}

.conmmon-container-left {
  overflow-y: auto;
  width: 220px;
  padding: 0 10px;
  background-color: #fff;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  margin-right: 10px;
}

.conmmon-container-main {
  flex: 1;
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.common-main-container{
  height: 100%;
  background-color: #fff;
  padding: 10px;
  overflow: auto;
}

.text-one-line{
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.common-el-tree{
  flex: 1;
  margin: 10px 0;
  overflow: auto;
  height: 100%;
  .is-checked{
    //color: $colorPrimary !important;
  }
  .custom-tree-node {
    width: calc(100% - 30px)!important;
    width: 100%;
    flex: 1;
    display: flex;
    font-size: 0;
    align-items: center;
    height: 40px;
    padding-right: 8px;
    .el-button{
      height: 40px;
      line-height: 40px;
    }
    .text {
      flex: 1;
      font-size: 14px;
      display: inline-block;
      text-overflow: ellipsis;
      white-space: nowrap;
      overflow: hidden;
    }
    i {
      font-size: 14px;
    }
    svg{
      width: 15px;
      height: 15px;
    }
    i+.text, svg+.text{
      padding-left: 6px;
      font-weight: normal;
    }
  }
  

  .el-tree-node__content {
    height: 40px;
    line-height: 40px;
  }
}
.common-el-tree.tree-active{
  .is-current>.el-tree-node__content{
    background-color: #e5edff!important;
    color: $colorPrimary;
    border-right: 2px solid $colorPrimary;
  }
}

.common-title {
  border-bottom: 1px solid #ebeef5;
  display: flex;
  justify-content: space-between;
  color: #606266;
  align-items: center;
  h2{
    font-size: 16px;
    line-height: 50px;
    font-weight: 500;
    margin-bottom: 0px;
  }
  h2.bold{
    font-weight: 600;
  }
  i{
    cursor: pointer;
  }
}
.common-title.bottom{
  margin-bottom: 15px;
}
.common-select-tree{
  padding: 0px !important;
}

//流水布局
.common-flow-container{
  overflow: auto;
  display: flex;
  flex-wrap: wrap;
  .flow-item{
    width: 200px;
    margin: 0px 12px 15px 0px;
    border-radius: 4px;
    background: #f1f4f7;
    border: 1px solid #e3e3e3;
    border-radius: 4px;
    min-height: 70px;
  }
}

.common-sub-vertical-menu{
  height: 100%;
  width: 165px;
  min-width: 165px;
  background-color: #fff;
  padding-top: 20px;
  padding-bottom: 20px;
  margin-right: 10px;
  .vertical-menu{
    li{
      height: 36px;
      line-height: 36px;
      font-size: 14px;
      padding-left: 13px;
      margin-bottom: 12px;
      border-right: 2px solid #fff;
      cursor: pointer;
      .svg-icon,.icon{
        width: 16px;
        height: 16px;
        margin-right: 15px;
        font-size: 15px;
      }
    }
    li.active{
      background: #e5edff!important;
      color: $colorPrimary;
      border-right: 2px solid $colorPrimary;
    }
  }
}
.content-container{
  .title{
    font-weight: bold;
    text-align: center;
    margin: 0.8em auto;
    height: auto;
    line-height: 36px;
    font-size: 2.6em;
    color: #333;
    overflow: hidden;
    font-weight: 700;
  }
  .subDesc{
    text-align: center;
    font-size: 1.2em;
    margin: 0.5em auto;
    .tag{
      margin: 1px 8px 1px 0;
    }
  }
  .content{
    font-size: 1.4em;
  }
}


.el-table__row .cell .el-link {
  margin: auto 3px;
}
.input-no-border{
  .el-input__inner{
    border: none !important;
  }
  .el-textarea__inner{
    border: none !important;
  }
}
.input-title-value{
  .el-input__inner{
    font-size: 20px;
    font-weight: bold;
    text-align: center;
  }
}